// 1.0 Home中的Index 页面class名称
.homeindex {
  /* 轮播图 */
  .swipe {
  }

  // 搜索组件
  $search_height: 34px;
  $color: rgba(0, 0, 0, 0.5);
  .search {
    position: absolute;
    top: 25px;
    z-index: 9;
    width: 100%;
    padding: 0 20px;
    height: $search_height;

    .left {
      background-color: #fff;
      height: $search_height;
      flex: 9;
      border-radius: 4px;

      input {
        border: none;
        padding-left: 10px;
        flex: 11;
      }
      .area {
        padding-left: 10px;
        flex: 2;
      }
      .arrow {
        color: $color;
        font-size: 12px;
      }
      .seachicon {
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        flex: 10;
        .icon-seach {
          color: $color;
          flex: 2;
        }
      }
      span {
        line-height: $search_height;
      }
    }

    .right {
      line-height: $search_height;
      font-size: 25px;
      color: #fff;
      flex: 1;
      text-align: right;
    }
  }

  /* 导航菜单 */
  .nav {
    height: 92px;
    background-color: #fff;
    padding: 10px;
  }

  /* 租房小组 */
  .group {
    height: auto;
    padding: 0 10px;

    h3 {
      font-size: 13px;
      margin-left: 10px;
    }

    span {
      color: #787d82;
      font-size: 14px;
    }

    .am-grid .am-flexbox {
      background-color: inherit;
    }

    .am-grid .am-flexbox .am-flexbox-item .am-grid-item-content {
      width: 96%;
    }
  }

  .grid-item {
    img {
      width: 55px;
    }

    p {
      color: #999;
      font-size: 12px;
      text-align: center;
    }
  }

  .am-grid-item-content {
    background-color: #fff;
  }

  .am-flexbox-align-stretch {
    margin-right: -5px;
  }

  .am-flexbox-align-stretch:last-child {
    margin-top: 7px;
  }

  /* 新闻资讯 */
  .news {
    background-color: #fff;
    margin-top: 10px;
    padding: 5px 0 0 20px;

    .title {
      font-size: 15px;
      /* margin-top: 20px; */
    }

    .news-item {
      height: 120px;
      padding: 15px 10px 15px 0;
      border-bottom: 1px solid #e5e5e5;
    }

    .news-item:last-child {
      border: 0;
    }

    .imgwrap {
      float: left;
      height: 90px;
      width: 120px;
    }

    .img {
      height: 90px;
      width: 120px;
    }

    .content {
      overflow: hidden;
      height: 100%;
      padding-left: 12px;
    }

    .info {
      width: 100%;
      color: #9c9fa1;
      font-size: 12px;
    }

    .message-title {
      margin-bottom: 48px;
    }
  }
}
